package io.zim.modules.ws.entity;

/**
 *
 * @author
 * @since
 */
public class Const {
  /**
   * 用于群聊的group id
   */
  public static final String GROUP_ID = "showcase-websocket";

  //心跳返回消息
  public static final int CODE_200 = 200;
  public static final String MSG_200 = "成功接收到心跳";

  //客服会话消息发送成功后的返回
  public static final int CODE_201 = 201;
  public static final String MSG_201 = "客服消息发送成功";

  //客服会话消息单聊通信
  public static final int CODE_202 = 202;
  public static final String MSG_202 = "单聊通信";
  //客服会话消息客服应答
  public static final int CODE_203 = 203;
  public static final String MSG_203 = "客服应答";
  //客服会话消息用户请求会话
  public static final int CODE_204 = 204;
  public static final String MSG_204 = "用户请求会话";

  //客服会话消息发送失败后的返回
  public static final int CODE_300 = 300;

  //传入参数验证失败
  public static final int CODE_400 = 400;

  //认证失败返回
  public static final int CODE_401 = 401;
  public static final String MSG_401 = "未认证";


}
